﻿
using System.Runtime.Serialization;

namespace Game.Level
{
    [DataContract(Namespace = "game")]
    public class GameMilestone
    {
        [DataMember(Name = "EventType")]
        public readonly GameMilestoneType _GameLevelEventType;

        [DataMember(Name = "Description")]
        public string _Description;

        public GameMilestone()
        {
        }

        public GameMilestone(GameMilestoneType type, string description)
        {
            _Description = description;
            _GameLevelEventType = type;
        }

        public string Description
        {
            get { return _Description; }
            set { _Description=value; }
        }

        public GameMilestoneType EventType
        {
            get { return _GameLevelEventType; }
        }

    }

}

